package com.qq.bean;

import java.util.Date;

public class Dynamics {//动态表
	private int dynamicsId;
	private String accounts;
	private String nickname;//发布动态的人的昵称
	private String userheadimg;//发布动态的人的头像
	private String sendText;//动态文本
	private String dynamicsImage;//动态图片URL
	private int state;//可见性类型：1-公开，0-私密
	private Date dyTime;
	
	public String getNickname() {
		return nickname;
	}
	public void setNickname(String nickname) {
		this.nickname = nickname;
	}
	public String getUserheadimg() {
		return userheadimg;
	}
	public void setUserheadimg(String userheadimg) {
		this.userheadimg = userheadimg;
	}
	public int getDynamicsId() {
		return dynamicsId;
	}
	public void setDynamicsId(int dynamicsId) {
		this.dynamicsId = dynamicsId;
	}
	
	public String getAccounts() {
		return accounts;
	}
	public void setAccounts(String accounts) {
		this.accounts = accounts;
	}
	public String getSendText() {
		return sendText;
	}
	public void setSendText(String sendText) {
		this.sendText = sendText;
	}
	public String getDynamicsImage() {
		return dynamicsImage;
	}
	public void setDynamicsImage(String dynamicsImage) {
		this.dynamicsImage = dynamicsImage;
	}
	public int getState() {
		return state;
	}
	public void setState(int state) {
		this.state = state;
	}
	public Date getDyTime() {
		return dyTime;
	}
	public void setDyTime(Date dyTime) {
		this.dyTime = dyTime;
	}
	public Dynamics() {
		super();
		// TODO Auto-generated constructor stub
	}
	
	public Dynamics(String accounts, String nickname, String userheadimg, String sendText) {
		super();
		this.accounts = accounts;
		this.nickname = nickname;
		this.userheadimg = userheadimg;
		this.sendText = sendText;
	}
	public Dynamics(String accounts, String nickname, String userheadimg, String sendText,
			String dynamicsImage) {
		super();
		this.accounts = accounts;
		this.nickname = nickname;
		this.userheadimg = userheadimg;
		this.sendText = sendText;
		this.dynamicsImage = dynamicsImage;

	}
	
	
	
}
